//在点位上
<template>
  <div class="useCoupon">
      <span>您当前的点位是：</span>
      <span>{{minAddressName}}</span>
      <p>请到3号机使用该优惠券！</p>
      <div class="shop">
        <p>可换购商品</p>
        <img src="../../../static/images/star.png" alt="">
      </div>
      <button>确定</button>
  </div>
</template>

<script>

export default {
  data () {
    return {
      minAddressName:''
    }
  },

  methods: {
    
  },
  mounted() {
    //接收参数
    this.minAddressName = this.$root.$mp.query.minAddressName;
  }
}
</script>

<style scoped lang="stylus">
.useCoupon
  box-sizing border-box
  padding 0 40rpx
  button
    width 240rpx
    height 80rpx
    display block
    text-align center
    line-height 80rpx
    font-size 32rpx
    color #fff
    background #c79e4d
  .shop 
    margin-top 30rpx
  img 
    width 200rpx
    height 300rpx
    margin 30rpx auto 80rpx
    display block
</style>
